package com.shijiu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * @Author xlj
 * @Date Created in  2023/3/18 14:30
 * @DESCRIPTION:
 * @Version V1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Shop {

    @TableId( type = IdType.AUTO)
    @ApiModelProperty("店铺id")
    private Integer id;

    @ApiModelProperty("店主id")
    private Integer userId;

    @ApiModelProperty("店主名字")
    private String ownerName;

    @ApiModelProperty("店铺名称")
    private String shopName;

    @ApiModelProperty("店铺地址")
    private String shopSrc;

    @ApiModelProperty("店铺联系方式")
    private String phone;

    @ApiModelProperty("店铺简介")
    private String summary;

    @ApiModelProperty("店铺评分，管理员控制")
    private Integer stars;

    @ApiModelProperty("店铺权重，管理员控制")
    private Integer weight;

    @ApiModelProperty("是否营业，店主控制")
    private Boolean closed;

    @ApiModelProperty("是否上下架店铺，管理员控制")
    private Boolean isShutDown;

}
